
package edu.tongji.jiaowu.service.impl;
 
import java.util.List;
import com.tongji.quickCRUDQ.service.impl.BaseManagerImpl;
import edu.tongji.jiaowu.dao.CollegeDao;
import edu.tongji.jiaowu.service.CollegeManager;
import com.tongji.quickCRUDQ.model.CommonBean;

public class CollegeManagerImpl extends BaseManagerImpl implements CollegeManager {
        private CollegeDao collegeDao;

	
	public CommonBean createCollege(){
                return collegeDao.createCollege();		
	}
	
/*
	public CommonBean findColleges(String refid) {
                return collegeDao.findColleges(refid);
       }
*/
	public CommonBean findCollegeById(String id){
                return collegeDao.findCollegeById(id);
       }	
	public CommonBean findAllColleges() {
                return collegeDao.findAllColleges();
       }
	public void insertCollege(CommonBean collegeBean){
               collegeDao.insertCollege(collegeBean);
	}
	
	public CollegeDao getCollegeDao(){
		return collegeDao;
        }	
        
        public void setCollegeDao(CollegeDao collegeDao){
                this.collegeDao=collegeDao;	
        }        		
}

